package com.eastcom.bm.service.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.eastcom.bm.atom.Atom_DatasetNe;
import com.eastcom.bm.dao.DAOFactory;
import com.eastcom.bm.dao.IDataSetNeDao;
import com.eastcom.bm.service.IDataSetNeService;
import com.eastcom.common.db.JDBCTemplate;
import com.eastcom.providor.BMSetting;


public class DataSetNeService implements IDataSetNeService {

	private static Logger log = BMSetting.getBMlog();

	public List<Atom_DatasetNe> getAllDatasetNe() {
		// TODO Auto-generated method stub
		try{
			IDataSetNeDao dataNedao=DAOFactory.getInstance().getDataSetNeDao();
			return dataNedao.getAllDatasetNe();
		}
		catch(Exception e){
			log.error("IDataSetNeService getAllDatasetDefine error", e);
		}
		finally{
			JDBCTemplate.doSessionFinally();
		}
		
		return null;
	}

}
